package com.tjhzzx.ibmsSupervisor.model.dashboard;

import javax.baja.naming.BOrd;
import javax.baja.sys.BFacets;
import javax.baja.sys.Property;
import javax.baja.sys.Sys;
import javax.baja.sys.Type;

public class BTextArea extends BBaseChart {

    public BTextArea() {
        setTitle("TextArea#");
    }

    public static final Property content = newProperty(0, "XXX学校简介内容，字数限制50字", BFacets.make("multiLine", true));

    public String getContent() {
        return getString(content);
    }

    public void setContent(String v) {
        setString(content, v, null);
    }

    public static final Property fontSize = newProperty(0, "16px", null);

    public String getFontSize() { return getString(fontSize); }

    public void setFontSize(String v) { setString(fontSize, v, null); }

    public static final Property image = newProperty(0, BOrd.DEFAULT, null);

    public BOrd getImage() {
        return (BOrd) get(image);
    }

    public void setImage(BOrd v) {
        set(image, v, null);
    }

    @Override
    public Type getType() { return TYPE; }
    public static final Type TYPE = Sys.loadType(BTextArea.class);
}
